package com.situ.mall.mapper;

import com.situ.mall.pojo.entity.Evaluate;
import com.situ.mall.pojo.vo.EvaluateVO;

import java.util.List;

public interface EvaluateMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Evaluate record);

    int insertSelective(Evaluate record);

    Evaluate selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Evaluate record);

    int updateByPrimaryKeyWithBLOBs(Evaluate record);

    int updateByPrimaryKey(Evaluate record);

    List<EvaluateVO> selectByProductId(Integer productId);

    Integer countByProductId(Integer id);

    void deleteById(Integer id);

    Integer totalCost();
}